package edu.zut.process;

public class Demo9 {

    public static void main(String[] args) {
        //continue:继续  跳过当前执行，执行下一次
        label: for (int i = 0; i < 4; i++) {
            label2: for (int j = 0; j < 4; j++) {
                if (j == 2) {
                    //跳过当前，继续下一次  默认作用自己所在的循环
                    //根据标签名作用指定的循环
                    continue label;
                }
                System.out.print("i = " + i + ", j = " + j );
                System.out.println();
            }
        }
    }
}
